package org.karson.designpattern.behavioral.observer.eventbus;

import com.google.common.eventbus.Subscribe;

public class EventBusObserverTwo {
    @Subscribe
    public void update(String msg) {
        //TODO: 获取消息通知，执行自己的逻辑...
        System.out.println("ConcreteObserverTwo is notified.");
    }
}